package org.jumiz.telnet.command;

import java.nio.channels.SocketChannel;

/**
 *
 */
public class ExecuteCommand {

    public static void execute(CommandEnum command, String connectionId) throws Exception {
        switch (command) {
            case QUIT:
                MessageResponse.putMessage(connectionId, "再见！");
                break;
            default:
                break;
        }
    }

}
